package com.ybkj.o2o.sales.manager;

import com.ybkj.o2o.sales.entity.ActivityCouponRule;

import java.util.List;


public interface ActivityCouponRuleManager {

  /**
   * 根据活动id查询活动优惠券规则.
   * @param activityId 活动id
   * @return List
   */
  public List<ActivityCouponRule> listByActivityId(Long activityId);

  /**
   * 根据优惠券规则id查询活动优惠券规则.
   * @param couponRuleId 优惠券规则id
   * @return List
   */
  public List<ActivityCouponRule> listByCouponRuleId(Long couponRuleId);



}
